<%--
*
*描述：undefined表SYSTEM_ADVICE的edit文件
*
* @author tch 
*
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="f" uri="/flowpage-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title><s:property value="operate"/>智能通知</title>
	<%@include file="/share/header.jsp"%>
	<s:head/>
        <f:header theme="${sessionScope.skinCon.pageSkin}"/>
  </head>
  <body>
  <s:actionerror/>
	    <s:form  action="save" namespace="/system/advice" validate="true" focusElement="domain.name">
		    <s:textfield name="domain.name" label="通知名" multipleheight="1" multiplewidth="2" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="100"  maxlength="100"/>
		    <s:select name="domain.adviceGroup" label="通知分组" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" list="getCodeItemList('advice_group')"  listKey="value" listValue="name"/>
   		    <s:radio name="domain.defaultMode" label="通知方式"  multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" list="getCodeItemList('advice_mode')"  listKey="value" listValue="name"/>		    
		    <s:textfield name="domain.domainClass" label="业务对象类全名" watermark="通知的关注业务对象类全名，必须实现接口[com.toncen.samepms.common.IAdviceable]" multipleheight="1" multiplewidth="2" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="100"  maxlength="100"/>
		    <s:textfield name="domain.condition" label="通知条件" watermark="是否通知的判断条件，使用OGNL表达式，必须返回Boolean结果" multipleheight="1" multiplewidth="2" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="100"  maxlength="100"/>
		    <s:textfield name="domain.target" label="通知对象" watermark="接收通知的用户集合，使用OGNL表达式，必须返回Collection结果" multipleheight="1" multiplewidth="2" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="100"  maxlength="100"/>
		    <s:textfield name="domain.subject" label="通知主题" watermark="发送通知的标题，变量使用OGNL表达式并用标记的开始和结束符号" multipleheight="1" multiplewidth="2" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="100"  maxlength="100"/>
		    <s:textarea name="domain.content" label="通知内容" watermark="发送通知的内容，变量使用OGNL表达式并用标记的开始和结束符号" multipleheight="4" multiplewidth="2" required="true" readonly="%{readonly}" disabled="%{disabled}"/>
		    <s:textfield name="domain.sequence" label="顺序" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="4"  maxlength="4"/>
		    <s:radio name="domain.state" label="是否使用" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" list="getCodeItemList('yes_no')"  listKey="value" listValue="name"/>
		    <s:textarea name="domain.remark" label="备注"  required="false" multipleheight="2" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="2000"  maxlength="2000"/>
	    </s:form>
  </body>
</html>
